﻿
@model IEnumerable<PessModel.sp_GetArchiveExpertScores_Result>
@{
    Layout = null;
}

@{
    var grid = new WebGrid(Model.ToList(),defaultSort:"ID");
}

<div class="displayConScroe">
    @grid.GetHtml(columns: grid.Columns(
    grid.Column("Name",header:"Name"),
        grid.Column("Description",header:"Description"),
        grid.Column("Value",header:"Scale"),
        grid.Column(format: item => Html.TextBox("ScoreValue", (object)item.ScoreValue == null ? 0 : (decimal)item.ScoreValue, new {@id=item.ID,@class="scoreField" }))
    ))
</div>
      @*<script>
            for (i=0;i< document.getElementsByTagName("table").length;i++){
                document.getElementsByTagName("table")[i].className = "oddTable";
            }
            setDivHeight();
      </script>*@
